Cooper Flagg scored 33 points, dropped nine dimes and grabbed nine rebounds to lead the Dallas Mavericks to a 131-130 win over the Denver Nuggets.